package com.sage.logbook.config.bean;

public class ServerConfigBean {

    private boolean allowOnlyFromLocalhost = true;

    private int listenPort = 8888;

    private boolean useProxy = false;

    private String proxyHost = "localhost";

    private int proxyPort = 8080;

    public boolean isAllowOnlyFromLocalhost() {
        return allowOnlyFromLocalhost;
    }

    public void setAllowOnlyFromLocalhost(boolean allowOnlyFromLocalhost) {
        this.allowOnlyFromLocalhost = allowOnlyFromLocalhost;
    }

    public int getListenPort() {
        return listenPort;
    }

    public void setListenPort(int listenPort) {
        this.listenPort = listenPort;
    }

    public boolean isUseProxy() {
        return useProxy;
    }

    public void setUseProxy(boolean useProxy) {
        this.useProxy = useProxy;
    }

    public String getProxyHost() {
        return proxyHost;
    }

    public void setProxyHost(String proxyHost) {
        this.proxyHost = proxyHost;
    }

    public int getProxyPort() {
        return proxyPort;
    }

    public void setProxyPort(int proxyPort) {
        this.proxyPort = proxyPort;
    }

}
